import request from '../utils/request'

// 自定义事件列表
export function list(data) {
  return request({
    url: '/custom_event/list',
    method: 'post',
    data
  })
}

// 执行日志
export function log(data) {
  return request({
    url: '/custom_event/log',
    method: 'post',
    data
  })
}

// 执行日志详情
export function logDetail(data) {
  return request({
    url: '/custom_event/log_detail',
    method: 'post',
    data
  })
}

// 新增--编辑
export function handle(data) {
  return request({
    url: '/custom_event/handle',
    method: 'post',
    data
  })
}

// 删除
export function del(data) {
  return request({
    url: '/custom_event/del',
    method: 'post',
    data
  })
}
